package com.zzx.schoolfellow.common.api;

import lombok.Getter;

@Getter
public enum ResponseCodeEnum {
    SUCCESS(200, "success"),
    FAILURE(500, "failure");

    private final Integer code;
    private final String msg;

    ResponseCodeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
